﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace xxxy.Web.activityInfo
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					int aID=(Convert.ToInt32(strid));
					ShowInfo(aID);
				}
			}
		}
		
	private void ShowInfo(int aID)
	{
		xxxy.BLL.activityInfo bll=new xxxy.BLL.activityInfo();
		xxxy.Model.activityInfo model=bll.GetModel(aID);
		this.lblaID.Text=model.aID.ToString();
		this.lblaPName.Text=model.aPName;
		this.lblaType.Text=model.aType.ToString();
		this.lblatime.Text=model.atime.ToString();
		this.lblaUpload.Text=model.aUpload.ToString();
		this.lblaUploadTmie.Text=model.aUploadTmie.ToString();
		this.lblaStation.Text=model.aStation.ToString();
		this.lblaPhoto1.Text=model.aPhoto1;
		this.lblaPhoto2.Text=model.aPhoto2;
		this.lblrRemarks.Text=model.rRemarks;

	}


    }
}
